<?php echo $__env->make('Layout.header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<div class="page page-user page-buy-record">
    <div class="wrapper">
        <?php echo $__env->make('Layout.menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <div class="content-panel">
            <div class="head-wrapper">
                <h3 class="head">充值记录</h3>
            </div>
            <div class="content">
                <table border="0" cellspacing="0">
                    <thead>
                        <tr>
                            <th>日期</th>
                            <th>金额</th>
                            <th>订单号</th>
                            <th>用户名</th>
                        </tr>
                    </thead>
                    <tbody>
                    <?php if(!empty($data['orders'])): ?>
                        <?php foreach($data['orders'] as $item): ?>
                            <tr>
                                <td><?php echo e($item['created_at']); ?></td>
                                <td><?php echo e($item['price']); ?>元</td>
                                <td><?php echo e($item['order_no']); ?></td>
                                <td><?php echo e($item['name']); ?></td>
                            </tr>
                        <?php endforeach; ?>
                    <?php endif; ?>
                    </tbody>
                </table>
                <p class="no-more">没有更多记录</p>
            </div>
        </div>
    </div>
</div>
</div>


<?php echo $__env->make('Layout.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>